package com.perceptivesoftware.licensing.server.handler;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import com.perceptivesoftware.licensing.server.util.PerceptiveLicensingConstants;
import com.perceptivesoftware.licensing.server.util.ServerUtil;

/**
 * This servlet handler will handle the streaming of requested export data files to the AdminInterface. The servlet simply sets the appropriate mime type and
 * then streams the document to the browser. This request is typically handled in a new browser window.
 * 
 * 
 */
@Controller
@Transactional
public class ExportFileHandler
{
	private static final Log logger = LogFactory.getLog(ExportFileHandler.class);

	@Autowired
	private ServerUtil serverUtil;

	public static final String EXPORT_TEMP_PATH = PerceptiveLicensingConstants.PERCEPTIVELICENSING_TMPDIR + "/export/";

}
